﻿using EMall.Application;
using EMall.Query;

namespace EMall.ProductService.Products
{
    public interface IProductAppService : IApplicationService
    {
        Task CreateAsync(CreateProductDto input);
        Task UpdateAsync(UpdateProductDto input);
        Task DeleteAsync(DeleteProductDto input);
        Task<ProductDto> GetAsync(int id);
        Task<IPagedList<ProductListDto>> GetPagedListAsync(GetProductListPagingAndSortingQueryDto input);
    }
}